<%@page import="com.project.util.StringUtil"%>
<%@page import="com.project.vo.User"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@page import="com.project.vo.User"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	User user = (User) session.getValue(StringUtil.USER);
%>
<%
	String path1 = request.getContextPath();
	String basePath1 = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path1 + "/";
%>
<div class="top col-lg-12 col-md-12 col-xs-12 col-sm-12" id="">
	<div class="left col-lg-1 col-md-1 col-xs-1 col-sm-1 col-md-push-1">
		<img alt="welcome" src="<%=basePath1%>/resources/images/scu.png" style="height: 80px;">
	</div>
	<div class="welfont col-lg-3 col-md-3 col-xs-3 col-sm-3 col-md-push-1">
			<label>欢迎来到服装推荐管理系统</label>
		</div>
	<div class="right col-lg-3 col-md-3 col-xs-3 col-sm-3 col-md-pull-1">
		<%
			if (user == null) {
		%>
		<a href="user/loginJSP"><label> 请登录</label></a> <a
			href="user/registerJSP"><label>注册</label></a>
		<%
			} else {
		%>
		<a href="user/view"><%=user.getName()%></a>,你好 <a href="user/logout"><label>注销</label></a>
		<%
			}
		%>
	</div>
</div>
